From 5f00675de44851c0b661d68d2e84bed604c4047b Mon Sep 17 00:00:00 2001 From: nana-4 Date: Sun, 2 Aug 2020 18:26:40 +0900 Subject: [PATCH] appchooserbutton: Set a CSS name Otherwise it has a CSS name "widget". --- gtk/gtkappchooserbutton.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/gtk/gtkappchooserbutton.c b/gtk/gtkappchooserbutton.c index 518f2c64be..7e81e2c925 100644 --- a/gtk/gtkappchooserbutton.c +++ b/gtk/gtkappchooserbutton.c @@ -45,6 +45,10 @@ * * To track changes in the selected application, use the * #GtkAppChooserButton::changed signal. + * + * # CSS nodes + * + * GtkAppChooserButton has a single CSS node with the name “appchooserbutton”. */ #include "config.h" @@ -741,6 +745,7 @@ gtk_app_chooser_button_class_init (GtkAppChooserButtonClass *klass) 1, G_TYPE_STRING); + gtk_widget_class_set_css_name (widget_class, I_("appchooserbutton")); } static void -- 2.30.2